package com.example.demo.dto;

import com.example.demo.pojo.Users;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

// 扩展Users类，专门查询用户明细
@Data
@ToString
@EqualsAndHashCode
public class UserDto extends Users {
    // 当前余额
    private Double balance;

    // 变动类型，消费还是退款
    private String type;

    // 变动金额
    private Double amount;


}
